<div id="left">
    <div class="box" style="height:300px">
        <div class="title">
        	<?php
            $qr = $tc->menu_type_home(3,$lang);
			$row_dm_sp = mysql_fetch_array($qr);
			echo '<div style="width:auto; float:left">'.const_sp_tieubieu.'</div>';
			?>
            <div class="next" style="width:auto; float:right; margin:8px 0 0 0; cursor:pointer"><img src="images/btn-next.jpg" alt="next" /></div>
            <div class="prev" style="width:auto; float:right; margin:8px 3px 0 0; cursor:pointer"><img src="images/btn-prev.jpg" alt="prev" /></div>
        </div>
        <div class="content">
            <div class="anyClass">
                <ul>
                <?php
                $product = $tc->product_home($row_dm_sp['id']);
				while($row = mysql_fetch_array($product)){
					echo '<li style="height:210px"><div class="item"><a href="'.$lang.'/'.$row_dm_sp['url'].$row['name_rewrite'].'.html" title=""><img src="'.url_product_thumb_image.$row['url_hinh'].'" alt="'.$row['name'].'" /><h2>'.$row['name'].'</h2></a><p>'.$row['description'].'</p></div></li>';
				}
				?>
                </ul>
            </div>
            <script type="text/javascript" src="library/jcarousellite.js"></script>
            <script type="text/javascript"> $(function() { $(".anyClass").jCarouselLite({ btnNext: ".next", btnPrev: ".prev" }); }); </script>
        </div>
    </div>
    
    <div class="box">
    	<?php
		$qr = $tc->menu_type_home(2,$lang);
		$row_dm_sp = mysql_fetch_array($qr);
		echo '<div class="title">'.const_gioithieu.'</div>';
		?>
        <div class="content">
            <div class="item2">
            <?php
			$product = $tc->gioithieu_home($row_dm_sp['id']);
			while($row = mysql_fetch_array($product)){
				echo '<img src="'.url_detail_image.$row['url_hinh'].'" alt="'.$row['name'].'" />
                <div style="width:430px; float:right">'.$row['description'].'</div>
                <div class="viewmore"><a href="'.$lang.'/'.$row_dm_sp['url'].$row['name_rewrite'].'.html">'.const_xemthem.'</a></div>';
			}
			?>
                <div style="clear:both; height:1px"></div>
            </div>
        </div>
    </div>
    
    <div class="box">
        <div class="title"><?php echo const_thongtin_lienhe;?></div>
        <div class="content">
            <div class="item3">
                <img src="images/map-big.jpg" alt="map Điêu Thuận" />
                <div class="content1">
				<?php
                echo $row_config['contact'];
				?></div>
                <div style="clear:both; height:1px"></div>
            </div>
        </div>
    </div>
</div>